<template>
  <div>
    <el-button>默认按钮</el-button>
    <h2>{{ fullName }}</h2>
    <my-common></my-common>
    <h2>{{getYourName}}</h2>
  </div>
</template>

<script>
import commonComponentsMixins from "../mixins/commonComponentsMixins";

export default {
  name: "TestFunction",
  mixins: [commonComponentsMixins],
  inject: ['myName'],
  computed: {
    fullName() {
      return this.myName;
    }
  },
}
</script>

<style scoped>

</style>
